Create a new Tree
Create a shallow copy of the syntax tree. This is very fast.
Compare this old edited syntax tree to a new syntax tree representing the same document, returning a sequence of ranges whose syntactic structure has changed.
Get a DOT graph describing the syntax tree as a string
Edit the syntax tree to keep it in sync with source code that has been edited.
Get the language that was used to parse the syntax tree.
Write a DOT graph describing the syntax tree to the given file.
Get the root node of the syntax tree.
Create a new TreeCursor starting from the root of the tree.
Create an empty Tree
internal TsTree
A tree that represents the syntactic structure of a source code file.